home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Misc / Crossword / Source / BackjumpSquare.h < prev    next >
Text File  |  1992-10-11  |  593b  |  29 lines

  1. /*
  2.  
  3. File BackjumpSquare.h
  4.  
  5. These are the squares used for backjumping search.  When a letter has no remaining possibilities, the words that intersect at that letter are added to the current nogood.  The current nogood is cleared whenever a letter is successfully filled.
  6.  
  7. */
  8.  
  9. #import "PlainSquare.h"
  10.  
  11.  
  12. /* ————————————————————————————————————————————————————————————————————————————  */
  13.  
  14.  
  15. #define JUMPED        1 << 1
  16.  
  17.  
  18. /* ————————————————————————————————————————————————————————————————————————————  */
  19.  
  20.  
  21. @interface BackjumpSquare:PlainSquare
  22. {
  23.     BOOL    injump;
  24. }
  25.  
  26. - clear;
  27. - (char) chooseLetter;
  28.  
  29. @end